Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing NURB Patches


Q3NURBPatch_SetUKnot

You can use the Q3NURBPatch_SetUKnot function to set the value of a knot in the u parametric direction.

TQ3Status Q3NURBPatch_SetUKnot (
TQ3GeometryObject nurbPatch, 
unsigned long knotIndex, 
float knotValue);
nurbPatch
A NURB patch.
knotIndex
An index into the uKnots field of the specified NURB patch.
knotValue
The desired value of the specified knot.
DESCRIPTION
The Q3NURBPatch_SetUKnot function sets the knot value of the NURB patch specified by the nurbPatch parameter having the knot index specified by the knotIndex parameter in the uKnots array of u knots to the value specified by the knotValue parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996